home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20031118-20041115
/
000427_fdc@columbia.edu_Mon Oct 25 12:43:25 2004.msg
< prev
next >
Wrap
Internet Message Format
|
2004-11-14
|
2KB
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit ftp syntax
Date: 25 Oct 2004 16:43:16 GMT
Organization: Columbia University
Lines: 42
Message-ID: <slrncnqb94.4a8.fdc@sesame.cc.columbia.edu>
References: <2f35e2b3.0410250649.23a55eca@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1098722596 10002 128.59.59.56 (25 Oct 2004 16:43:16 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 25 Oct 2004 16:43:16 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15211
On 2004-10-25, Harvey <delgado_harvey@yahoo.com> wrote:
: Hi All,
: I am doing a ftp of files and for this first I am doing a cd to the
: target directory. The directory name is 'HD Test Folder' and the only
: way to change to this directory is using the following command:
:
: cd HD Test Folder
:
: When a try to use: cd "HD Test Folder" or cd {HD Test Folder} then I
: get and error saying is an invalid directory.
:
: What is the correct way to enclose the path having blank spaces.
:
Kermit sends what you type. For example, if you type:
cd HD Test Folder
it sends the FTP protocol command:
CWD HD Test Folder
If you enclose the directory name in doublequotes, they are stripped:
cd "HD Test Folder"
CWD HD Test Folder
To force Kermit to send the doublequotes, use:
cd ""HD Test Folder""
CWD "HD Test Folder"
If this doesn't work, then maybe there is some other syntax the server will
accept but I can only guess what it might be. For example:
cd HD_Test_Folder
cd HD%20Test%20Folder
cd HD%%20Test%%20Folder
etc. Also, if you can find out the "Windows short name" of the folder you
use do that instead of the long name.
- Frank